a11y: Tweak name and description computation
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Oct 2020 18:58:34 +0000 (14:58 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Oct 2020 18:58:34 +0000 (14:58 -0400)
commitdfc7d26275f1cf402e207c6e50978cedde267cc2
tree57599c2a729480a9053558c8f5c9665c1bab40d5
parent77d1026c5a56e7dc47721cd98ce29b39864bb8d8
a11y: Tweak name and description computation

Instead of falling back to the role nick for both,
fall back to the class name for the name, and to
the empty string for the description. This makes
labels show up in Accerciser the same way they
did in GTK 3, and seems more useful to me than
the alternative.
gtk/gtkatcontext.c